<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="https://cdn.jsdelivr.net/npm/vue@2.6.10/dist/vue.js"></script>
</head>
<style>
   
</style>
<body>
    <div id="app">
        <div :style="[style1,style2,style3,style4] ">test active1</div>
        <div :style="[style2,style3]">test active2</div>
       
    </div>
   <script>
     const vm = new Vue({
        el:"#app",
        data(){
            return{
                
                    style1:{color:"red"},
                    style2:{fontSize:"80px"},
                    style3:{fontStyle:"italic"},
                    style4:{textShadow:"1px 1px 1px bule" },
                }
             }
    })
   </script>
</body>
</html>